package org.praktika.api.dto;

import jakarta.validation.constraints.NotNull;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDate;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class OrderCityDto {
    Long id;

    @NotNull
    CityDto city;

    @NotNull
    TurOrderDto turOrder;

    @NotNull
    LocalDate dateStart;

    @NotNull
    LocalDate dateExpiration;
}